import ajaxFun from '../untils/ajaxFun'

export const getProductsList = (params: any) => {
  return ajaxFun({
    method: 'get',
    url: 'api/getProducts',
    params
  })
}

export const pay = (params: any) => {
  return ajaxFun({
    method: 'post',
    url: 'api/pay',
    params
  })
}
